package test;

/**
 * @Author: zongjiantao
 * @Description: $Description$
 * @Date: Created in 13:39 2018/9/17
 * @Modified By:
 */
public class CalculateImpl implements Calculate {
    @Override
    public int add(int i, int j) {
        return i + j;
    }

    @Override
    public int sub(int i, int j) {
        return i - j;
    }

    @Override
    public int mul(int i, int j) {
        return i * j;
    }

    @Override
    public int div(int i, int j) {
        return i / j;
    }
}
